#include "mytcpserver.h"

MyTcpServer::MyTcpServer(QObject *parent)
    : QTcpServer{parent}
{}
void MyTcpServer::incomingConnection(qintptr sockDescriptor)
{

    emit newDescriptor(sockDescriptor);
    qDebug()<<"MyTcpServer taojie:  "<<sockDescriptor;
}
